.uploadObsDialog {
  width: 500px;
  height: 300px;
  background-color: #fff;
  z-index: 1;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.uploadObs {
  width: auto;
  height: auto;
  //   background-color: #fff;
  //   box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
}

.hiddenInput {
  display: none; /* 隐藏原生 input */
}

.customButton {
  background-color: #1890ff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;

  &:hover {
    background-color: #40a9ff;
  }

  &:active {
    background-color: #096dd9;
  }
}

.uploadResult {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.uploadResultItem {
  width: 100%;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

  &:hover {
    background-color: #e9ecef;
    border-color: #1890ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  &:last-child {
    margin-bottom: 0;
  }

  .fileInfo {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;

    .fileIcon {
      width: 24px;
      height: 24px;
      margin-right: 12px;
      color: #1890ff;
      flex-shrink: 0;
    }

    .fileName {
      font-size: 14px;
      color: #333;
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 200px;
    }
  }

  .fileActions {
    display: flex;
    align-items: center;
    gap: 8px;

    .fileSize {
      font-size: 12px;
      color: #666;
      background-color: #f0f0f0;
      padding: 2px 6px;
      border-radius: 4px;
    }

    .deleteBtn {
      background-color: #ff4d4f;
      color: white;
      border: none;
      border-radius: 4px;
      padding: 4px 8px;
      font-size: 12px;
      cursor: pointer;
      transition: background-color 0.3s;

      &:hover {
        background-color: #ff7875;
      }

      &:active {
        background-color: #d9363e;
      }
    }
  }
}
